package net.ojbk.util;

import java.util.Date;
import java.text.*;

public class DateTool {
	public static String getDateTime() {
		Date dNow = new Date( );
		SimpleDateFormat ft = new SimpleDateFormat ("yyyy.MM.dd HH:MM:SS");
		return ft.format(dNow);
	}
	
	public static void main(String[] args) {
		System.out.println(DateTool.getDateTime());
	}
}
